package com.douziit.meilianoa.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 审核日志实体类
 * @author ChenBiao
 * @since 2020-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ApprovalLog  implements Serializable {

    private static final long serialVersionUID= 1L;

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 项目id
     */
    @TableField("project_id")
    private Integer projectId;

    /**
     * 审批员角色
     * 0：超管 1：管理员 2：财务 3：督导
     */
    @TableField("approval_role")
    private Integer approvalRole;

    /**
     * 审批状态
     */
    @TableField("status")
    private Integer status;

    /**
     * 审批日期
     */
    @TableField("check_date")
    private Date checkDate;

}
